package com.jhgk.jhcee.data.auth.mapper;

import com.jhgk.jhcee.data.auth.entity.SysRoleInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
* @Description：系统角色表Mapper接口
*/
public interface SysRoleInfoMapper extends BaseMapper<SysRoleInfo> {

    List<SysRoleInfo> getRoleList(@Param("userId") Long userId);

    List<SysRoleInfo> rolePageList(@Param("roleName")String roleName,@Param("status") Integer status);

    Integer updateStatus(@Param("roleId") Long roleId,@Param("status") Integer status);
}

